/*
 * Copyright (c) 2022 ScoutForStarsTeam Device Co., Ltd.
 * Licensed under the Apache License,Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// @ts-nocheck
import router from '@system.router';
export default {
    data: {
        title: "语音识别",
        src:'',
        button:'新建患儿信息',
        data:[
            {
                id:'item_0',
                image:'pages/images/1.png',
                name:'豆豆',
            },
            {
                id:'item_1',
                image:'pages/images/tupian2.png',
                name:'星星的孩子',
            },
            {
                id:'item_2',
                image:'../images/tupian2.png',
                name:'星星的孩子',
            },
            {
                id:'item_3',
                image:'../images/tupian2.png',
                name:'星星的孩子',
            },
            {
                id:'item_4',
                image:'../images/tupian2.png',
                name:'星星的孩子',
            },
            {
                id:'item_5',
                image:'../images/tupian2.png',
                name:'星星的孩子',
            },
            {
                id:'item_6',
                image:'../images/tupian1.png',
                name:'星星的孩子',
            },

        ]


    },

    jumpPage(id) {
        router.push({
            uri:"pages/details/details",
        });
        console.log(id);
    },

    divclick(){
        router.push({
            uri:'pages/details/details',//指定要跳转的页面
        })
    },

    btnclick(){
        router.push({
            uri:'pages/child_information/child_information',//指定要跳转的页面
        })
    }


}